﻿using IBLL.Dto;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IRoomNumBLL
    {
        Task<int> AddAsync(RoomNumber t);
        Task<int> UpdateAsync(RoomNumber t);
        Task<int> DeleteAsync(int id);
        IQueryable<RoomNumber> GetAll();
        RoomNumber GetValue(int id);

        RoomNumPageDto GetRoomNumPage(int index, int size, int roomid, string? name);
    }
}
